<!--  
/*  This was NOT entirely developed by Nick Heiner 
	Adapted from a template found at: http://www.webresourcesdepot.com/free-admin-template-for-web-applications/
-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>{{title}}</title>
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
	<style media="all" type="text/css">@import "css/all.css";</style>
</head>
<body>
<div id="main">
	<div id="header">
		<div id="logo">
			<a href="/" class="logo"><img src="img/cornell-store-logo.gif" alt="logo" /></a>
		</div>
		<ul id="top-navigation">
			{% for page in menu_items %}
				<li {% ifequal active page.name %}
						class="active"
					{% endifequal %} 
				><span><span>
					{% ifnotequal active page.name %}
						<a href="{{page.href}}">{{page.name}}</a>
					{% else %}
						{{page.name}}
					{% endifnotequal %}
				</span></span></li> <!-- why the extra spans? -->
			{% endfor %}
		</ul>
	</div>
	<div id="middle">
		<div id="messages">
		<!--  messages here -->
	